package org.tea.inventory.base.exception;

import lombok.Data;

/**
 * @author hanzy
 * @description
 * @date 2023年04月06日 11:16
 */
@Data
public class ApplicationException extends RuntimeException{
    private Integer errno;

    public ApplicationException() {
    }

    public ApplicationException(String message) {
        super(message);
    }

    public ApplicationException(Integer errno, String message) {
        super(message);
        this.errno = errno;
    }
}
